home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Interfaces & Libraries / Interfaces / PInterfaces / GXGraphics.p < prev    next >
Encoding:
Text File  |  1995-07-06  |  34.4 KB  |  491 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        GXGraphics.p
  3.  
  4.      Contains:    QuickDraw GX graphic routine interfaces.
  5.  
  6.      Version:    Technology:    Quickdraw GX 1.1
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. }
  19.  
  20. {$IFC UNDEFINED UsingIncludes}
  21. {$SETC UsingIncludes := 0}
  22. {$ENDC}
  23.  
  24. {$IFC NOT UsingIncludes}
  25.  UNIT GXGraphics;
  26.  INTERFACE
  27. {$ENDC}
  28.  
  29. {$IFC UNDEFINED __GXGRAPHICS__}
  30. {$SETC __GXGRAPHICS__ := 1}
  31.  
  32. {$I+}
  33. {$SETC GXGraphicsIncludes := UsingIncludes}
  34. {$SETC UsingIncludes := 1}
  35.  
  36.  
  37. {$IFC UNDEFINED __CONDITIONALMACROS__}
  38. {$I ConditionalMacros.p}
  39. {$ENDC}
  40.  
  41. {$IFC UNDEFINED __TYPES__}
  42. {$I Types.p}
  43. {$ENDC}
  44.  
  45. {$IFC UNDEFINED __GXERRORS__}
  46. {$I GXErrors.p}
  47. {$ENDC}
  48. {    MixedMode.p                                                    }
  49. {    GXTypes.p                                                    }
  50. {        GXMath.p                                                }
  51. {            FixMath.p                                            }
  52.  
  53. {$IFC UNDEFINED __GXTYPES__}
  54. {$I GXTypes.p}
  55. {$ENDC}
  56.  
  57. {$PUSH}
  58. {$ALIGN MAC68K}
  59. {$LibExport+}
  60. {$SETC graphicsRoutinesIncludes := 1}
  61.  
  62. FUNCTION GXNewGraphicsClient(memoryStart: UNIV Ptr; memoryLength: LONGINT; attributes: gxClientAttribute): gxGraphicsClient; C;
  63. FUNCTION GXGetGraphicsClient: gxGraphicsClient; C;
  64. PROCEDURE GXSetGraphicsClient(client: gxGraphicsClient); C;
  65. PROCEDURE GXDisposeGraphicsClient(client: gxGraphicsClient); C;
  66. {returns the count }
  67. FUNCTION GXGetGraphicsClients(index: LONGINT; count: LONGINT; clients: gxGraphicsClient): LONGINT; C;
  68. PROCEDURE GXEnterGraphics; C;
  69. PROCEDURE GXExitGraphics; C;
  70. FUNCTION GXGetGraphicsError(VAR stickyError: gxGraphicsError): gxGraphicsError; C;
  71. FUNCTION GXGetGraphicsNotice(VAR stickyNotice: gxGraphicsNotice): gxGraphicsNotice; C;
  72. FUNCTION GXGetGraphicsWarning(VAR stickyWarning: gxGraphicsWarning): gxGraphicsWarning; C;
  73. PROCEDURE GXPostGraphicsError(error: gxGraphicsError); C;
  74. PROCEDURE GXPostGraphicsWarning(warning: gxGraphicsWarning); C;
  75. FUNCTION GXGetUserGraphicsError(VAR reference: LONGINT): gxUserErrorFunction; C;
  76. FUNCTION GXGetUserGraphicsNotice(VAR reference: LONGINT): gxUserNoticeFunction; C;
  77. FUNCTION GXGetUserGraphicsWarning(VAR reference: LONGINT): gxUserWarningFunction; C;
  78. PROCEDURE GXSetUserGraphicsError(userFunction: gxUserErrorFunction; reference: LONGINT); C;
  79. PROCEDURE GXSetUserGraphicsNotice(userFunction: gxUserNoticeFunction; reference: LONGINT); C;
  80. PROCEDURE GXSetUserGraphicsWarning(userFunction: gxUserWarningFunction; reference: LONGINT); C;
  81. PROCEDURE GXIgnoreGraphicsWarning(warning: gxGraphicsWarning); C;
  82. PROCEDURE GXPopGraphicsWarning; C;
  83. FUNCTION GXNewShapeVector(aType: gxShapeType; vector: Fixed): gxShape; C;
  84. PROCEDURE GXSetShapeVector(target: gxShape; vector: Fixed); C;
  85. FUNCTION GXNewBitmap({CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint): gxShape; C;
  86. FUNCTION GXNewCurve({CONST}VAR data: gxCurve): gxShape; C;
  87. FUNCTION GXNewGlyphs(charCount: LONGINT; text: ByteParameter; positions: gxPoint; advance: LONGINT; tangents: gxPoint; styleRuns: INTEGER; glyphStyles: gxStyle): gxShape; C;
  88. FUNCTION GXNewLine({CONST}VAR data: gxLine): gxShape; C;
  89. FUNCTION GXNewPaths({CONST}VAR data: gxPaths): gxShape; C;
  90. FUNCTION GXNewPicture(count: LONGINT; shapes: gxShape; styles: gxStyle; inks: gxInk; transforms: gxTransform): gxShape; C;
  91. FUNCTION GXNewPoint({CONST}VAR data: gxPoint): gxShape; C;
  92. FUNCTION GXNewPolygons({CONST}VAR data: gxPolygons): gxShape; C;
  93. FUNCTION GXNewRectangle({CONST}VAR data: gxRectangle): gxShape; C;
  94. FUNCTION GXNewText(charCount: LONGINT; text: ByteParameter; {CONST}VAR position: gxPoint): gxShape; C;
  95. FUNCTION GXGetBitmap(source: gxShape; VAR data: gxBitmap; VAR position: gxPoint): gxBitmap; C;
  96. FUNCTION GXGetCurve(source: gxShape; VAR data: gxCurve): gxCurve; C;
  97. { returns byte length of glyphs }
  98. FUNCTION GXGetGlyphs(source: gxShape; VAR charCount: LONGINT; text: ByteParameter; positions: gxPoint; advance: LONGINT; tangents: gxPoint; VAR runCount: LONGINT; styleRuns: INTEGER; glyphStyles: gxStyle): LONGINT; C;
  99. FUNCTION GXGetLine(source: gxShape; VAR data: gxLine): gxLine; C;
  100. { returns byte length }
  101. FUNCTION GXGetPaths(source: gxShape; VAR data: gxPaths): LONGINT; C;
  102. { returns count }
  103. FUNCTION GXGetPicture(source: gxShape; shapes: gxShape; styles: gxStyle; inks: gxInk; transforms: gxTransform): LONGINT; C;
  104. FUNCTION GXGetPoint(source: gxShape; VAR data: gxPoint): gxPoint; C;
  105. { returns byte length }
  106. FUNCTION GXGetPolygons(source: gxShape; VAR data: gxPolygons): LONGINT; C;
  107. FUNCTION GXGetRectangle(source: gxShape; VAR data: gxRectangle): gxRectangle; C;
  108. { returns byte length }
  109. FUNCTION GXGetText(source: gxShape; VAR charCount: LONGINT; text: ByteParameter; VAR position: gxPoint): LONGINT; C;
  110. PROCEDURE GXSetBitmap(target: gxShape; {CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint); C;
  111. PROCEDURE GXSetCurve(target: gxShape; {CONST}VAR data: gxCurve); C;
  112. PROCEDURE GXSetGlyphs(target: gxShape; charCount: LONGINT; text: ByteParameter; positions: gxPoint; advance: LONGINT; tangents: gxPoint; styleRuns: INTEGER; glyphStyles: gxStyle); C;
  113. PROCEDURE GXSetLine(target: gxShape; {CONST}VAR data: gxLine); C;
  114. PROCEDURE GXSetPaths(target: gxShape; {CONST}VAR data: gxPaths); C;
  115. PROCEDURE GXSetPicture(target: gxShape; count: LONGINT; shapes: gxShape; styles: gxStyle; inks: gxInk; transforms: gxTransform); C;
  116. PROCEDURE GXSetPoint(target: gxShape; {CONST}VAR data: gxPoint); C;
  117. PROCEDURE GXSetPolygons(target: gxShape; {CONST}VAR data: gxPolygons); C;
  118. PROCEDURE GXSetRectangle(target: gxShape; {CONST}VAR data: gxRectangle); C;
  119. PROCEDURE GXSetText(target: gxShape; charCount: LONGINT; text: ByteParameter; {CONST}VAR position: gxPoint); C;
  120. PROCEDURE GXDrawBitmap({CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint); C;
  121. PROCEDURE GXDrawCurve({CONST}VAR data: gxCurve); C;
  122. PROCEDURE GXDrawGlyphs(charCount: LONGINT; text: ByteParameter; positions: gxPoint; advance: LONGINT; tangents: gxPoint; styleRuns: INTEGER; glyphStyles: gxStyle); C;
  123. PROCEDURE GXDrawLine({CONST}VAR data: gxLine); C;
  124. PROCEDURE GXDrawPaths({CONST}VAR data: gxPaths; fill: gxShapeFill); C;
  125. PROCEDURE GXDrawPicture(count: LONGINT; shapes: gxShape; styles: gxStyle; inks: gxInk; transforms: gxTransform); C;
  126. PROCEDURE GXDrawPoint({CONST}VAR data: gxPoint); C;
  127. PROCEDURE GXDrawPolygons({CONST}VAR data: gxPolygons; fill: gxShapeFill); C;
  128. PROCEDURE GXDrawRectangle({CONST}VAR data: gxRectangle; fill: gxShapeFill); C;
  129. PROCEDURE GXDrawText(charCount: LONGINT; text: ByteParameter; {CONST}VAR position: gxPoint); C;
  130. FUNCTION GXNewColorProfile(size: LONGINT; colorProfileData: UNIV Ptr): gxColorProfile; C;
  131. FUNCTION GXNewColorSet(space: gxColorSpace; count: LONGINT; colors: gxSetColor): gxColorSet; C;
  132. FUNCTION GXNewInk: gxInk; C;
  133. FUNCTION GXNewShape(aType: gxShapeType): gxShape; C;
  134. FUNCTION GXNewStyle: gxStyle; C;
  135. FUNCTION GXNewTag(tagType: LONGINT; length: LONGINT; data: UNIV Ptr): gxTag; C;
  136. FUNCTION GXNewTransform: gxTransform; C;
  137. FUNCTION GXNewViewDevice(group: gxViewGroup; bitmapShape: gxShape): gxViewDevice; C;
  138. FUNCTION GXNewViewGroup: gxViewGroup; C;
  139. FUNCTION GXNewViewPort(group: gxViewGroup): gxViewPort; C;
  140. PROCEDURE GXDisposeColorProfile(target: gxColorProfile); C;
  141. PROCEDURE GXDisposeColorSet(target: gxColorSet); C;
  142. PROCEDURE GXDisposeInk(target: gxInk); C;
  143. PROCEDURE GXDisposeShape(target: gxShape); C;
  144. PROCEDURE GXDisposeStyle(target: gxStyle); C;
  145. PROCEDURE GXDisposeTag(target: gxTag); C;
  146. PROCEDURE GXDisposeTransform(target: gxTransform); C;
  147. PROCEDURE GXDisposeViewDevice(target: gxViewDevice); C;
  148. PROCEDURE GXDisposeViewGroup(target: gxViewGroup); C;
  149. PROCEDURE GXDisposeViewPort(target: gxViewPort); C;
  150. FUNCTION GXCloneColorProfile(source: gxColorProfile): gxColorProfile; C;
  151. FUNCTION GXCloneColorSet(source: gxColorSet): gxColorSet; C;
  152. FUNCTION GXCloneInk(source: gxInk): gxInk; C;
  153. FUNCTION GXCloneShape(source: gxShape): gxShape; C;
  154. FUNCTION GXCloneStyle(source: gxStyle): gxStyle; C;
  155. FUNCTION GXCloneTag(source: gxTag): gxTag; C;
  156. FUNCTION GXCloneTransform(source: gxTransform): gxTransform; C;
  157. FUNCTION GXCopyToColorProfile(target: gxColorProfile; source: gxColorProfile): gxColorProfile; C;
  158. FUNCTION GXCopyToColorSet(target: gxColorSet; source: gxColorSet): gxColorSet; C;
  159. FUNCTION GXCopyToInk(target: gxInk; source: gxInk): gxInk; C;
  160. FUNCTION GXCopyToShape(target: gxShape; source: gxShape): gxShape; C;
  161. FUNCTION GXCopyToStyle(target: gxStyle; source: gxStyle): gxStyle; C;
  162. FUNCTION GXCopyToTag(target: gxTag; source: gxTag): gxTag; C;
  163. FUNCTION GXCopyToTransform(target: gxTransform; source: gxTransform): gxTransform; C;
  164. FUNCTION GXCopyToViewDevice(target: gxViewDevice; source: gxViewDevice): gxViewDevice; C;
  165. FUNCTION GXCopyToViewPort(target: gxViewPort; source: gxViewPort): gxViewPort; C;
  166. FUNCTION GXEqualColorProfile(one: gxColorProfile; two: gxColorProfile): BOOLEAN; C;
  167. FUNCTION GXEqualColorSet(one: gxColorSet; two: gxColorSet): BOOLEAN; C;
  168. FUNCTION GXEqualInk(one: gxInk; two: gxInk): BOOLEAN; C;
  169. FUNCTION GXEqualShape(one: gxShape; two: gxShape): BOOLEAN; C;
  170. FUNCTION GXEqualStyle(one: gxStyle; two: gxStyle): BOOLEAN; C;
  171. FUNCTION GXEqualTag(one: gxTag; two: gxTag): BOOLEAN; C;
  172. FUNCTION GXEqualTransform(one: gxTransform; two: gxTransform): BOOLEAN; C;
  173. FUNCTION GXEqualViewDevice(one: gxViewDevice; two: gxViewDevice): BOOLEAN; C;
  174. FUNCTION GXEqualViewPort(one: gxViewPort; two: gxViewPort): BOOLEAN; C;
  175. PROCEDURE GXResetInk(target: gxInk); C;
  176. PROCEDURE GXResetShape(target: gxShape); C;
  177. PROCEDURE GXResetStyle(target: gxStyle); C;
  178. PROCEDURE GXResetTransform(target: gxTransform); C;
  179. PROCEDURE GXLoadColorProfile(target: gxColorProfile); C;
  180. PROCEDURE GXLoadColorSet(target: gxColorSet); C;
  181. PROCEDURE GXLoadInk(target: gxInk); C;
  182. PROCEDURE GXLoadShape(target: gxShape); C;
  183. PROCEDURE GXLoadStyle(target: gxStyle); C;
  184. PROCEDURE GXLoadTag(target: gxTag); C;
  185. PROCEDURE GXLoadTransform(target: gxTransform); C;
  186. PROCEDURE GXUnloadColorProfile(target: gxColorProfile); C;
  187. PROCEDURE GXUnloadColorSet(target: gxColorSet); C;
  188. PROCEDURE GXUnloadInk(target: gxInk); C;
  189. PROCEDURE GXUnloadShape(target: gxShape); C;
  190. PROCEDURE GXUnloadStyle(target: gxStyle); C;
  191. PROCEDURE GXUnloadTag(target: gxTag); C;
  192. PROCEDURE GXUnloadTransform(target: gxTransform); C;
  193. PROCEDURE GXCacheShape(source: gxShape); C;
  194. FUNCTION GXCopyDeepToShape(target: gxShape; source: gxShape): gxShape; C;
  195. PROCEDURE GXDrawShape(source: gxShape); C;
  196. PROCEDURE GXDisposeShapeCache(target: gxShape); C;
  197. FUNCTION GXGetDefaultColorProfile: gxColorProfile; C;
  198. FUNCTION GXGetDefaultShape(aType: gxShapeType): gxShape; C;
  199. FUNCTION GXGetDefaultColorSet(pixelDepth: LONGINT): gxColorSet; C;
  200. PROCEDURE GXSetDefaultShape(target: gxShape); C;
  201. PROCEDURE GXSetDefaultColorSet(target: gxColorSet; pixelDepth: LONGINT); C;
  202. FUNCTION GXGetTag(source: gxTag; VAR tagType: LONGINT; data: UNIV Ptr): LONGINT; C;
  203. PROCEDURE GXSetTag(target: gxTag; tagType: LONGINT; length: LONGINT; data: UNIV Ptr); C;
  204. FUNCTION GXGetShapeBounds(source: gxShape; index: LONGINT; VAR bounds: gxRectangle): gxRectangle; C;
  205. FUNCTION GXGetShapeFill(source: gxShape): gxShapeFill; C;
  206. FUNCTION GXGetShapeInk(source: gxShape): gxInk; C;
  207. FUNCTION GXGetShapePixel(source: gxShape; x: LONGINT; y: LONGINT; VAR data: gxColor; VAR index: LONGINT): LONGINT; C;
  208. FUNCTION GXGetShapeStyle(source: gxShape): gxStyle; C;
  209. FUNCTION GXGetShapeTransform(source: gxShape): gxTransform; C;
  210. FUNCTION GXGetShapeType(source: gxShape): gxShapeType; C;
  211. FUNCTION GXGetShapeTypographicBounds(source: gxShape; VAR bounds: gxRectangle): gxRectangle; C;
  212. FUNCTION GXGetBitmapParts(source: gxShape; {CONST}VAR bounds: gxLongRectangle): gxShape; C;
  213. PROCEDURE GXGetStyleFontMetrics(sourceStyle: gxStyle; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  214. PROCEDURE GXGetShapeFontMetrics(source: gxShape; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  215. PROCEDURE GXSetShapeBounds(target: gxShape; {CONST}VAR newBounds: gxRectangle); C;
  216. PROCEDURE GXSetShapeFill(target: gxShape; newFill: gxShapeFill); C;
  217. PROCEDURE GXSetShapeInk(target: gxShape; newInk: gxInk); C;
  218. PROCEDURE GXSetShapePixel(target: gxShape; x: LONGINT; y: LONGINT; {CONST}VAR newColor: gxColor; newIndex: LONGINT); C;
  219. PROCEDURE GXSetShapeStyle(target: gxShape; newStyle: gxStyle); C;
  220. PROCEDURE GXSetShapeTransform(target: gxShape; newTransform: gxTransform); C;
  221. PROCEDURE GXSetShapeType(target: gxShape; newType: gxShapeType); C;
  222. PROCEDURE GXSetBitmapParts(target: gxShape; {CONST}VAR bounds: gxLongRectangle; bitmapShape: gxShape); C;
  223. PROCEDURE GXSetShapeGeometry(target: gxShape; geometry: gxShape); C;
  224. FUNCTION GXGetShapeCurveError(source: gxShape): Fixed; C;
  225. FUNCTION GXGetShapeDash(source: gxShape; VAR dash: gxDashRecord): gxDashRecord; C;
  226. FUNCTION GXGetShapeCap(source: gxShape; VAR cap: gxCapRecord): gxCapRecord; C;
  227. { returns the number of layers }
  228. FUNCTION GXGetShapeFace(source: gxShape; VAR face: gxTextFace): LONGINT; C;
  229. FUNCTION GXGetShapeFont(source: gxShape): gxFont; C;
  230. FUNCTION GXGetShapeJoin(source: gxShape; VAR join: gxJoinRecord): gxJoinRecord; C;
  231. FUNCTION GXGetShapeJustification(source: gxShape): Fract; C;
  232. FUNCTION GXGetShapePattern(source: gxShape; VAR pattern: gxPatternRecord): gxPatternRecord; C;
  233. FUNCTION GXGetShapePen(source: gxShape): Fixed; C;
  234. FUNCTION GXGetShapeEncoding(source: gxShape; VAR script: gxFontScript; VAR language: gxFontLanguage): gxFontPlatform; C;
  235. FUNCTION GXGetShapeTextSize(source: gxShape): Fixed; C;
  236. FUNCTION GXGetShapeFontVariations(source: gxShape; variations: gxFontVariation): LONGINT; C;
  237. FUNCTION GXGetShapeFontVariationSuite(source: gxShape; variations: gxFontVariation): LONGINT; C;
  238. FUNCTION GXGetStyleCurveError(source: gxStyle): Fixed; C;
  239. FUNCTION GXGetStyleDash(source: gxStyle; VAR dash: gxDashRecord): gxDashRecord; C;
  240. FUNCTION GXGetStyleCap(source: gxStyle; VAR cap: gxCapRecord): gxCapRecord; C;
  241. { returns the number of layers }
  242. FUNCTION GXGetStyleFace(source: gxStyle; VAR face: gxTextFace): LONGINT; C;
  243. FUNCTION GXGetStyleFont(source: gxStyle): gxFont; C;
  244. FUNCTION GXGetStyleJoin(source: gxStyle; VAR join: gxJoinRecord): gxJoinRecord; C;
  245. FUNCTION GXGetStyleJustification(source: gxStyle): Fract; C;
  246. FUNCTION GXGetStylePattern(source: gxStyle; VAR pattern: gxPatternRecord): gxPatternRecord; C;
  247. FUNCTION GXGetStylePen(source: gxStyle): Fixed; C;
  248. FUNCTION GXGetStyleEncoding(source: gxStyle; VAR script: gxFontScript; VAR language: gxFontLanguage): gxFontPlatform; C;
  249. FUNCTION GXGetStyleTextSize(source: gxStyle): Fixed; C;
  250. FUNCTION GXGetStyleFontVariations(source: gxStyle; variations: gxFontVariation): LONGINT; C;
  251. FUNCTION GXGetStyleFontVariationSuite(source: gxStyle; variations: gxFontVariation): LONGINT; C;
  252. PROCEDURE GXSetShapeCurveError(target: gxShape; error: Fixed); C;
  253. PROCEDURE GXSetShapeDash(target: gxShape; {CONST}VAR dash: gxDashRecord); C;
  254. PROCEDURE GXSetShapeCap(target: gxShape; {CONST}VAR cap: gxCapRecord); C;
  255. PROCEDURE GXSetShapeFace(target: gxShape; {CONST}VAR face: gxTextFace); C;
  256. PROCEDURE GXSetShapeFont(target: gxShape; aFont: gxFont); C;
  257. PROCEDURE GXSetShapeJoin(target: gxShape; {CONST}VAR join: gxJoinRecord); C;
  258. PROCEDURE GXSetShapeJustification(target: gxShape; justify: Fract); C;
  259. PROCEDURE GXSetShapePattern(target: gxShape; {CONST}VAR pattern: gxPatternRecord); C;
  260. PROCEDURE GXSetShapePen(target: gxShape; pen: Fixed); C;
  261. PROCEDURE GXSetShapeEncoding(target: gxShape; platform: gxFontPlatform; script: gxFontScript; language: gxFontLanguage); C;
  262. PROCEDURE GXSetShapeTextSize(target: gxShape; size: Fixed); C;
  263. PROCEDURE GXSetShapeFontVariations(target: gxShape; count: LONGINT; variations: gxFontVariation); C;
  264. PROCEDURE GXSetStyleCurveError(target: gxStyle; error: Fixed); C;
  265. PROCEDURE GXSetStyleDash(target: gxStyle; {CONST}VAR dash: gxDashRecord); C;
  266. PROCEDURE GXSetStyleCap(target: gxStyle; {CONST}VAR cap: gxCapRecord); C;
  267. PROCEDURE GXSetStyleFace(target: gxStyle; {CONST}VAR face: gxTextFace); C;
  268. PROCEDURE GXSetStyleFont(target: gxStyle; aFont: gxFont); C;
  269. PROCEDURE GXSetStyleJoin(target: gxStyle; {CONST}VAR join: gxJoinRecord); C;
  270. PROCEDURE GXSetStyleJustification(target: gxStyle; justify: Fract); C;
  271. PROCEDURE GXSetStylePattern(target: gxStyle; {CONST}VAR pattern: gxPatternRecord); C;
  272. PROCEDURE GXSetStylePen(target: gxStyle; pen: Fixed); C;
  273. PROCEDURE GXSetStyleEncoding(target: gxStyle; platform: gxFontPlatform; script: gxFontScript; language: gxFontLanguage); C;
  274. PROCEDURE GXSetStyleTextSize(target: gxStyle; size: Fixed); C;
  275. PROCEDURE GXSetStyleFontVariations(target: gxStyle; count: LONGINT; variations: gxFontVariation); C;
  276. FUNCTION GXGetShapeColor(source: gxShape; VAR data: gxColor): gxColor; C;
  277. FUNCTION GXGetShapeTransfer(source: gxShape; VAR data: gxTransferMode): gxTransferMode; C;
  278. FUNCTION GXGetInkColor(source: gxInk; VAR data: gxColor): gxColor; C;
  279. FUNCTION GXGetInkTransfer(source: gxInk; VAR data: gxTransferMode): gxTransferMode; C;
  280. PROCEDURE GXSetShapeColor(target: gxShape; {CONST}VAR data: gxColor); C;
  281. PROCEDURE GXSetShapeTransfer(target: gxShape; {CONST}VAR data: gxTransferMode); C;
  282. PROCEDURE GXSetInkColor(target: gxInk; {CONST}VAR data: gxColor); C;
  283. PROCEDURE GXSetInkTransfer(target: gxInk; {CONST}VAR data: gxTransferMode); C;
  284. FUNCTION GXGetShapeClip(source: gxShape): gxShape; C;
  285. FUNCTION GXGetShapeClipType(source: gxShape): gxShapeType; C;
  286. FUNCTION GXGetShapeMapping(source: gxShape; VAR map: gxMapping): gxMapping; C;
  287. FUNCTION GXGetShapeHitTest(source: gxShape; VAR tolerance: Fixed): gxShapePart; C;
  288. FUNCTION GXGetShapeViewPorts(source: gxShape; list: gxViewPort): LONGINT; C;
  289. FUNCTION GXGetTransformClip(source: gxTransform): gxShape; C;
  290. FUNCTION GXGetTransformClipType(source: gxTransform): gxShapeType; C;
  291. FUNCTION GXGetTransformMapping(source: gxTransform; VAR map: gxMapping): gxMapping; C;
  292. FUNCTION GXGetTransformHitTest(source: gxTransform; VAR tolerance: Fixed): gxShapePart; C;
  293. FUNCTION GXGetTransformViewPorts(source: gxTransform; list: gxViewPort): LONGINT; C;
  294. PROCEDURE GXSetShapeClip(target: gxShape; clip: gxShape); C;
  295. PROCEDURE GXSetShapeMapping(target: gxShape; {CONST}VAR map: gxMapping); C;
  296. PROCEDURE GXSetShapeHitTest(target: gxShape; mask: gxShapePart; tolerance: Fixed); C;
  297. PROCEDURE GXSetShapeViewPorts(target: gxShape; count: LONGINT; list: gxViewPort); C;
  298. PROCEDURE GXSetTransformClip(target: gxTransform; clip: gxShape); C;
  299. PROCEDURE GXSetTransformMapping(target: gxTransform; {CONST}VAR map: gxMapping); C;
  300. PROCEDURE GXSetTransformHitTest(target: gxTransform; mask: gxShapePart; tolerance: Fixed); C;
  301. PROCEDURE GXSetTransformViewPorts(target: gxTransform; count: LONGINT; list: gxViewPort); C;
  302. FUNCTION GXGetColorSet(source: gxColorSet; VAR space: gxColorSpace; colors: gxSetColor): LONGINT; C;
  303. FUNCTION GXGetColorProfile(source: gxColorProfile; colorProfileData: UNIV Ptr): LONGINT; C;
  304. PROCEDURE GXSetColorSet(target: gxColorSet; space: gxColorSpace; count: LONGINT; colors: gxSetColor); C;
  305. PROCEDURE GXSetColorProfile(target: gxColorProfile; size: LONGINT; colorProfileData: UNIV Ptr); C;
  306. FUNCTION GXGetViewDeviceBitmap(source: gxViewDevice): gxShape; C;
  307. FUNCTION GXGetViewDeviceClip(source: gxViewDevice): gxShape; C;
  308. FUNCTION GXGetViewDeviceMapping(source: gxViewDevice; VAR map: gxMapping): gxMapping; C;
  309. FUNCTION GXGetViewDeviceViewGroup(source: gxViewDevice): gxViewGroup; C;
  310. PROCEDURE GXSetViewDeviceBitmap(target: gxViewDevice; bitmapShape: gxShape); C;
  311. PROCEDURE GXSetViewDeviceClip(target: gxViewDevice; clip: gxShape); C;
  312. PROCEDURE GXSetViewDeviceMapping(target: gxViewDevice; {CONST}VAR map: gxMapping); C;
  313. PROCEDURE GXSetViewDeviceViewGroup(target: gxViewDevice; group: gxViewGroup); C;
  314. FUNCTION GXGetViewPortChildren(source: gxViewPort; list: gxViewPort): LONGINT; C;
  315. FUNCTION GXGetViewPortClip(source: gxViewPort): gxShape; C;
  316. FUNCTION GXGetViewPortDither(source: gxViewPort): LONGINT; C;
  317. FUNCTION GXGetViewPortHalftone(source: gxViewPort; VAR data: gxHalftone): BOOLEAN; C;
  318. FUNCTION GXGetViewPortMapping(source: gxViewPort; VAR map: gxMapping): gxMapping; C;
  319. FUNCTION GXGetViewPortParent(source: gxViewPort): gxViewPort; C;
  320. FUNCTION GXGetViewPortViewGroup(source: gxViewPort): gxViewGroup; C;
  321. FUNCTION GXGetViewPortHalftoneMatrix(source: gxViewPort; sourceDevice: gxViewDevice; VAR theMatrix: gxHalftoneMatrix): LONGINT; C;
  322. PROCEDURE GXSetViewPortChildren(target: gxViewPort; count: LONGINT; list: gxViewPort); C;
  323. PROCEDURE GXSetViewPortClip(target: gxViewPort; clip: gxShape); C;
  324. PROCEDURE GXSetViewPortDither(target: gxViewPort; level: LONGINT); C;
  325. PROCEDURE GXSetViewPortHalftone(target: gxViewPort; {CONST}VAR data: gxHalftone); C;
  326. PROCEDURE GXSetViewPortMapping(target: gxViewPort; {CONST}VAR map: gxMapping); C;
  327. PROCEDURE GXSetViewPortParent(target: gxViewPort; parent: gxViewPort); C;
  328. PROCEDURE GXSetViewPortViewGroup(target: gxViewPort; group: gxViewGroup); C;
  329. FUNCTION GXGetColorProfileTags(source: gxColorProfile; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  330. FUNCTION GXGetColorSetTags(source: gxColorSet; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  331. FUNCTION GXGetInkTags(source: gxInk; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  332. FUNCTION GXGetShapeTags(source: gxShape; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  333. FUNCTION GXGetStyleTags(source: gxStyle; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  334. FUNCTION GXGetTransformTags(source: gxTransform; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  335. FUNCTION GXGetViewDeviceTags(source: gxViewDevice; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  336. FUNCTION GXGetViewPortTags(source: gxViewPort; tagType: LONGINT; index: LONGINT; count: LONGINT; items: gxTag): LONGINT; C;
  337. PROCEDURE GXSetColorProfileTags(target: gxColorProfile; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  338. PROCEDURE GXSetColorSetTags(target: gxColorSet; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  339. PROCEDURE GXSetInkTags(target: gxInk; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  340. PROCEDURE GXSetShapeTags(target: gxShape; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  341. PROCEDURE GXSetStyleTags(target: gxStyle; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  342. PROCEDURE GXSetTransformTags(target: gxTransform; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  343. PROCEDURE GXSetViewDeviceTags(target: gxViewDevice; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  344. PROCEDURE GXSetViewPortTags(target: gxViewPort; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; items: gxTag); C;
  345. FUNCTION GXGetInkAttributes(source: gxInk): gxInkAttribute; C;
  346. FUNCTION GXGetShapeAttributes(source: gxShape): gxShapeAttribute; C;
  347. FUNCTION GXGetShapeInkAttributes(source: gxShape): gxInkAttribute; C;
  348. FUNCTION GXGetShapeStyleAttributes(source: gxShape): gxStyleAttribute; C;
  349. FUNCTION GXGetStyleAttributes(source: gxStyle): gxStyleAttribute; C;
  350. FUNCTION GXGetShapeTextAttributes(source: gxShape): gxTextAttribute; C;
  351. FUNCTION GXGetStyleTextAttributes(source: gxStyle): gxTextAttribute; C;
  352. FUNCTION GXGetViewDeviceAttributes(source: gxViewDevice): gxDeviceAttribute; C;
  353. FUNCTION GXGetViewPortAttributes(source: gxViewPort): gxPortAttribute; C;
  354. PROCEDURE GXSetInkAttributes(target: gxInk; attributes: gxInkAttribute); C;
  355. PROCEDURE GXSetShapeAttributes(target: gxShape; attributes: gxShapeAttribute); C;
  356. PROCEDURE GXSetShapeInkAttributes(target: gxShape; attributes: gxInkAttribute); C;
  357. PROCEDURE GXSetShapeStyleAttributes(target: gxShape; attributes: gxStyleAttribute); C;
  358. PROCEDURE GXSetStyleAttributes(target: gxStyle; attributes: gxStyleAttribute); C;
  359. PROCEDURE GXSetShapeTextAttributes(target: gxShape; attributes: gxTextAttribute); C;
  360. PROCEDURE GXSetStyleTextAttributes(target: gxStyle; attributes: gxTextAttribute); C;
  361. PROCEDURE GXSetViewDeviceAttributes(target: gxViewDevice; attributes: gxDeviceAttribute); C;
  362. PROCEDURE GXSetViewPortAttributes(target: gxViewPort; attributes: gxPortAttribute); C;
  363. FUNCTION GXGetColorProfileOwners(source: gxColorProfile): LONGINT; C;
  364. FUNCTION GXGetColorSetOwners(source: gxColorSet): LONGINT; C;
  365. FUNCTION GXGetInkOwners(source: gxInk): LONGINT; C;
  366. FUNCTION GXGetShapeOwners(source: gxShape): LONGINT; C;
  367. FUNCTION GXGetStyleOwners(source: gxStyle): LONGINT; C;
  368. FUNCTION GXGetTagOwners(source: gxTag): LONGINT; C;
  369. FUNCTION GXGetTransformOwners(source: gxTransform): LONGINT; C;
  370. PROCEDURE GXLockShape(target: gxShape); C;
  371. PROCEDURE GXLockTag(target: gxTag); C;
  372. PROCEDURE GXUnlockShape(target: gxShape); C;
  373. PROCEDURE GXUnlockTag(target: gxTag); C;
  374. FUNCTION GXGetShapeStructure(source: gxShape; VAR length: LONGINT): Ptr; C;
  375. FUNCTION GXGetTagStructure(source: gxTag; VAR length: LONGINT): Ptr; C;
  376. FUNCTION GXGetColorDistance({CONST}VAR target: gxColor; {CONST}VAR source: gxColor): Fixed; C;
  377. FUNCTION GXShapeLengthToPoint(target: gxShape; index: LONGINT; length: Fixed; VAR location: gxPoint; VAR tangent: gxPoint): gxPoint; C;
  378. FUNCTION GXGetShapeArea(source: gxShape; index: LONGINT; VAR area: wide): wide; C;
  379. FUNCTION GXGetShapeCacheSize(source: gxShape): LONGINT; C;
  380. FUNCTION GXGetShapeCenter(source: gxShape; index: LONGINT; VAR center: gxPoint): gxPoint; C;
  381. FUNCTION GXGetShapeDirection(source: gxShape; contour: LONGINT): gxContourDirection; C;
  382. FUNCTION GXGetShapeIndex(source: gxShape; contour: LONGINT; vector: LONGINT): LONGINT; C;
  383. FUNCTION GXGetShapeLength(source: gxShape; index: LONGINT; VAR length: wide): wide; C;
  384. FUNCTION GXGetShapeSize(source: gxShape): LONGINT; C;
  385. FUNCTION GXCountShapeContours(source: gxShape): LONGINT; C;
  386. FUNCTION GXCountShapePoints(source: gxShape; contour: LONGINT): LONGINT; C;
  387. { returns the number of positions }
  388. FUNCTION GXGetShapeDashPositions(source: gxShape; dashMappings: gxMapping): LONGINT; C;
  389. FUNCTION GXGetShapeDeviceArea(source: gxShape; port: gxViewPort; device: gxViewDevice): LONGINT; C;
  390. FUNCTION GXGetShapeDeviceBounds(source: gxShape; port: gxViewPort; device: gxViewDevice; VAR bounds: gxRectangle): BOOLEAN; C;
  391. FUNCTION GXGetShapeDeviceColors(source: gxShape; port: gxViewPort; device: gxViewDevice; VAR width: LONGINT): gxColorSet; C;
  392. FUNCTION GXGetShapeGlobalBounds(source: gxShape; port: gxViewPort; group: gxViewGroup; VAR bounds: gxRectangle): BOOLEAN; C;
  393. FUNCTION GXGetShapeGlobalViewDevices(source: gxShape; port: gxViewPort; list: gxViewDevice): LONGINT; C;
  394. FUNCTION GXGetShapeGlobalViewPorts(source: gxShape; list: gxViewPort): LONGINT; C;
  395. FUNCTION GXGetShapeLocalBounds(source: gxShape; VAR bounds: gxRectangle): gxRectangle; C;
  396. { returns the number of positions }
  397. FUNCTION GXGetShapePatternPositions(source: gxShape; positions: gxPoint): LONGINT; C;
  398. PROCEDURE GXGetShapeLocalFontMetrics(sourceShape: gxShape; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  399. PROCEDURE GXGetShapeDeviceFontMetrics(sourceShape: gxShape; port: gxViewPort; device: gxViewDevice; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  400. FUNCTION GXGetViewGroupViewDevices(source: gxViewGroup; list: gxViewDevice): LONGINT; C;
  401. FUNCTION GXGetViewGroupViewPorts(source: gxViewGroup; list: gxViewPort): LONGINT; C;
  402. FUNCTION GXGetViewPortGlobalMapping(source: gxViewPort; VAR map: gxMapping): gxMapping; C;
  403. FUNCTION GXGetViewPortViewDevices(source: gxViewPort; list: gxViewDevice): LONGINT; C;
  404. FUNCTION GXHitTestPicture(target: gxShape; {CONST}VAR test: gxPoint; VAR result: gxHitTestInfo; level: LONGINT; depth: LONGINT): gxShape; C;
  405. FUNCTION GXIntersectRectangle(VAR target: gxRectangle; {CONST}VAR source: gxRectangle; {CONST}VAR operand: gxRectangle): BOOLEAN; C;
  406. FUNCTION GXUnionRectangle(VAR target: gxRectangle; {CONST}VAR source: gxRectangle; {CONST}VAR operand: gxRectangle): gxRectangle; C;
  407. FUNCTION GXTouchesRectanglePoint({CONST}VAR target: gxRectangle; {CONST}VAR test: gxPoint): BOOLEAN; C;
  408. FUNCTION GXTouchesShape(target: gxShape; test: gxShape): BOOLEAN; C;
  409. FUNCTION GXTouchesBoundsShape({CONST}VAR target: gxRectangle; test: gxShape): BOOLEAN; C;
  410. FUNCTION GXContainsRectangle({CONST}VAR container: gxRectangle; {CONST}VAR test: gxRectangle): BOOLEAN; C;
  411. FUNCTION GXContainsShape(container: gxShape; test: gxShape): BOOLEAN; C;
  412. FUNCTION GXContainsBoundsShape({CONST}VAR container: gxRectangle; test: gxShape; index: LONGINT): BOOLEAN; C;
  413. FUNCTION GXConvertColor(VAR target: gxColor; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): gxColor; C;
  414. FUNCTION GXCombineColor(VAR target: gxColor; operand: gxInk): gxColor; C;
  415. FUNCTION GXCheckColor({CONST}VAR source: gxColor; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): BOOLEAN; C;
  416. FUNCTION GXCheckBitmapColor(source: gxShape; {CONST}VAR area: gxLongRectangle; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): gxShape; C;
  417. FUNCTION GXGetHalftoneDeviceAngle(source: gxViewDevice; {CONST}VAR data: gxHalftone): Fixed; C;
  418. FUNCTION GXGetColorSetParts(source: gxColorSet; index: LONGINT; count: LONGINT; VAR space: gxColorSpace; data: gxSetColor): LONGINT; C;
  419. { returns the glyph count }
  420. FUNCTION GXGetGlyphParts(source: gxShape; index: LONGINT; charCount: LONGINT; VAR byteLength: LONGINT; text: ByteParameter; positions: gxPoint; advanceBits: LONGINT; tangents: gxPoint; VAR runCount: LONGINT; styleRuns: INTEGER; styles: gxStyle): LONGINT; C;
  421. FUNCTION GXGetPathParts(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPaths): LONGINT; C;
  422. FUNCTION GXGetPictureParts(source: gxShape; index: LONGINT; count: LONGINT; shapes: gxShape; styles: gxStyle; inks: gxInk; transforms: gxTransform): LONGINT; C;
  423. FUNCTION GXGetPolygonParts(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPolygons): LONGINT; C;
  424. FUNCTION GXGetShapeParts(source: gxShape; index: LONGINT; count: LONGINT; destination: gxShape): gxShape; C;
  425. FUNCTION GXGetTextParts(source: gxShape; index: LONGINT; charCount: LONGINT; text: ByteParameter): LONGINT; C;
  426. PROCEDURE GXSetColorSetParts(target: gxColorSet; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; data: gxSetColor); C;
  427. PROCEDURE GXSetGlyphParts(source: gxShape; index: LONGINT; oldCharCount: LONGINT; newCharCount: LONGINT; text: ByteParameter; positions: gxPoint; advanceBits: LONGINT; tangents: gxPoint; styleRuns: INTEGER; styles: gxStyle); C;
  428. PROCEDURE GXSetPathParts(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPaths; flags: gxEditShapeFlag); C;
  429. PROCEDURE GXSetPictureParts(target: gxShape; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; shapes: gxShape; styles: gxStyle; inks: gxInk; transforms: gxTransform); C;
  430. PROCEDURE GXSetPolygonParts(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPolygons; flags: gxEditShapeFlag); C;
  431. PROCEDURE GXSetShapeParts(target: gxShape; index: LONGINT; count: LONGINT; insert: gxShape; flags: gxEditShapeFlag); C;
  432. PROCEDURE GXSetTextParts(target: gxShape; index: LONGINT; oldCharCount: LONGINT; newCharCount: LONGINT; text: ByteParameter); C;
  433. FUNCTION GXGetShapePoints(source: gxShape; index: LONGINT; count: LONGINT; data: gxPoint): LONGINT; C;
  434. PROCEDURE GXSetShapePoints(target: gxShape; index: LONGINT; count: LONGINT; data: gxPoint); C;
  435. FUNCTION GXGetGlyphPositions(source: gxShape; index: LONGINT; charCount: LONGINT; advance: LONGINT; positions: gxPoint): LONGINT; C;
  436. FUNCTION GXGetGlyphTangents(source: gxShape; index: LONGINT; charCount: LONGINT; tangents: gxPoint): LONGINT; C;
  437. PROCEDURE GXSetGlyphPositions(target: gxShape; index: LONGINT; charCount: LONGINT; advance: LONGINT; positions: gxPoint); C;
  438. PROCEDURE GXSetGlyphTangents(target: gxShape; index: LONGINT; charCount: LONGINT; tangents: gxPoint); C;
  439. FUNCTION GXGetGlyphMetrics(source: gxShape; glyphOrigins: gxPoint; boundingBoxes: gxRectangle; sideBearings: gxPoint): LONGINT; C;
  440. PROCEDURE GXDifferenceShape(target: gxShape; operand: gxShape); C;
  441. PROCEDURE GXExcludeShape(target: gxShape; operand: gxShape); C;
  442. PROCEDURE GXIntersectShape(target: gxShape; operand: gxShape); C;
  443. PROCEDURE GXMapShape(target: gxShape; {CONST}VAR map: gxMapping); C;
  444. PROCEDURE GXMoveShape(target: gxShape; deltaX: Fixed; deltaY: Fixed); C;
  445. PROCEDURE GXMoveShapeTo(target: gxShape; x: Fixed; y: Fixed); C;
  446. PROCEDURE GXReverseDifferenceShape(target: gxShape; operand: gxShape); C;
  447. PROCEDURE GXRotateShape(target: gxShape; degrees: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  448. PROCEDURE GXScaleShape(target: gxShape; hScale: Fixed; vScale: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  449. PROCEDURE GXSkewShape(target: gxShape; xSkew: Fixed; ySkew: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  450. PROCEDURE GXUnionShape(target: gxShape; operand: gxShape); C;
  451. PROCEDURE GXDifferenceTransform(target: gxTransform; operand: gxShape); C;
  452. PROCEDURE GXExcludeTransform(target: gxTransform; operand: gxShape); C;
  453. PROCEDURE GXIntersectTransform(target: gxTransform; operand: gxShape); C;
  454. PROCEDURE GXMapTransform(target: gxTransform; {CONST}VAR map: gxMapping); C;
  455. PROCEDURE GXMoveTransform(target: gxTransform; deltaX: Fixed; deltaY: Fixed); C;
  456. PROCEDURE GXMoveTransformTo(target: gxTransform; x: Fixed; y: Fixed); C;
  457. PROCEDURE GXReverseDifferenceTransform(target: gxTransform; operand: gxShape); C;
  458. PROCEDURE GXRotateTransform(target: gxTransform; degrees: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  459. PROCEDURE GXScaleTransform(target: gxTransform; hScale: Fixed; vScale: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  460. PROCEDURE GXSkewTransform(target: gxTransform; xSkew: Fixed; ySkew: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  461. PROCEDURE GXUnionTransform(target: gxTransform; operand: gxShape); C;
  462. PROCEDURE GXBreakShape(target: gxShape; index: LONGINT); C;
  463. PROCEDURE GXChangedShape(target: gxShape); C;
  464. FUNCTION GXHitTestShape(target: gxShape; {CONST}VAR test: gxPoint; VAR result: gxHitTestInfo): gxShapePart; C;
  465. FUNCTION GXHitTestDevice(target: gxShape; port: gxViewPort; device: gxViewDevice; {CONST}VAR test: gxPoint; {CONST}VAR tolerance: gxPoint): gxShape; C;
  466. PROCEDURE GXInsetShape(target: gxShape; inset: Fixed); C;
  467. PROCEDURE GXInvertShape(target: gxShape); C;
  468. PROCEDURE GXPrimitiveShape(target: gxShape); C;
  469. PROCEDURE GXReduceShape(target: gxShape; contour: LONGINT); C;
  470. PROCEDURE GXReverseShape(target: gxShape; contour: LONGINT); C;
  471. PROCEDURE GXSimplifyShape(target: gxShape); C;
  472. PROCEDURE GXLockColorProfile(source: gxColorProfile); C;
  473. PROCEDURE GXUnlockColorProfile(source: gxColorProfile); C;
  474. FUNCTION GXGetColorProfileStructure(source: gxColorProfile; VAR length: LONGINT): Ptr; C;
  475. PROCEDURE GXFlattenShape(source: gxShape; flags: gxFlattenFlag; VAR block: gxSpoolBlock); C;
  476. FUNCTION GXUnflattenShape(VAR block: gxSpoolBlock; count: LONGINT; portList: gxViewPort): gxShape; C;
  477. PROCEDURE GXPostGraphicsNotice(notice: gxGraphicsNotice); C;
  478. PROCEDURE GXIgnoreGraphicsNotice(notice: gxGraphicsNotice); C;
  479. PROCEDURE GXPopGraphicsNotice; C;
  480.  
  481. {$ALIGN RESET}
  482. {$POP}
  483.  
  484. {$SETC UsingIncludes := GXGraphicsIncludes}
  485.  
  486. {$ENDC} {__GXGRAPHICS__}
  487.  
  488. {$IFC NOT UsingIncludes}
  489.  END.
  490. {$ENDC}
  491.